// 引入Service和请求头ServiceName
import { Service, ServiceName } from '@/network/http.js'

const api = {
  /**
    * 获取主列表
    */
   queryByShipvoyageId (params) {
    return Service.get(
      `/${ServiceName}/api/external/TicketAdjustmentController/queryByShipvoyageId?shipvoyageId=${params}`
    )
  },
  /**
    * 作业票调整
    */
   updatebyid (params) {
    return Service.post(
      `/${ServiceName}/api/external/TicketAdjustmentController/update`, params
    )
  },
}
export default api